package com.diver.flinkdemo.entity.xxt;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.diver.flinkdemo.enums.DataEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Description: 学生证上学守护表
 * @Author: zhangB
 * @Date: 2023/4/20 16:35
 */
@Data
@TableName("student_card_guard_setting")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "student_card_guard_setting对象", description = "学生证上学守护表")
public class StudentCardGuardSetting implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 终端号码，学生证imei
     */
    @Excel(name = "终端号码，学生证imei", width = 15)
    @ApiModelProperty(value = "终端号码，学生证imei")
    private String cardNum;
    /**
     * 上午到校时间点
     */
    @Excel(name = "上午到校时间点", width = 15)
    @ApiModelProperty(value = "上午到校时间点")
    private String moArriveSchoolTime;
    /**
     * 上午离校时间点
     */
    @Excel(name = "上午离校时间点", width = 15)
    @ApiModelProperty(value = "上午离校时间点")
    private String moLeaveSchoolTime;
    /**
     * 下午到校时间点
     */
    @Excel(name = "下午到校时间点", width = 15)
    @ApiModelProperty(value = "下午到校时间点")
    private String afArriveSchoolTime;
    /**
     * 下午离校时间点
     */
    @Excel(name = "下午离校时间点", width = 15)
    @ApiModelProperty(value = "下午离校时间点")
    private String afLeaveSchoolTime;
    /**
     * 上午到校时间段
     */
    @Excel(name = "上午到校时间段", width = 15)
    @ApiModelProperty(value = "上午到校时间段")
    private String moArriveSchoolRange;
    /**
     * 上午离校时间段
     */
    @Excel(name = "上午离校时间段", width = 15)
    @ApiModelProperty(value = "上午离校时间段")
    private String moLeaveSchoolRange;
    /**
     * 下午到校时间段
     */
    @Excel(name = "下午到校时间段", width = 15)
    @ApiModelProperty(value = "下午到校时间段")
    private String afArriveSchoolRange;
    /**
     * 下午离校时间段
     */
    @Excel(name = "下午离校时间段", width = 15)
    @ApiModelProperty(value = "下午离校时间段")
    private String afLeaveSchoolRange;
    /**
     * 重复周期
     */
    @Excel(name = "重复周期", width = 15)
    @ApiModelProperty(value = "重复周期")
    private String repeatCycle;
    /**
     * 学校电子围栏id
     */
    @Excel(name = "学校电子围栏id", width = 15)
    @ApiModelProperty(value = "学校电子围栏id")
    private String schoolFenceId;
    /**
     * 家电子围栏id
     */
    @Excel(name = "家电子围栏id", width = 15)
    @ApiModelProperty(value = "家电子围栏id")
    private String homeFenceId;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String memo;

    /**
     * 状态（1启用，0不启用）
     */
    @Excel(name = "状态（1启用，0不启用）", width = 15)
    @ApiModelProperty(value = "状态（1启用，0不启用）")
    private String status = DataEnum.ENABLE.getCode();

    /**
     * 删除状态（0，正常，1已删除）
     */
    @Excel(name = "删除状态（0，正常，1已删除）", width = 15)
    @ApiModelProperty(value = "删除状态（0，正常，1已删除）")
    private String delFlag = DataEnum.NORMAL.getCode();
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
}
